<!DOCTYPE html>
<html lang="en">
<head>
    <title>博客列表</title>
<#include "../../comm/meta-base.ftl" />
<#include "../../comm/meta-layui.ftl" />

    <link rel="stylesheet" href="/static/css/index.css" media="all"/>
</head>
<body>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
    <legend>分组添加</legend>
</fieldset>

<form class="layui-form layui-form-pane" action="/admin/group/save" method="post">
    <div class="layui-form-item">
        <label class="layui-form-label">组名</label>
        <div class="layui-input-inline">
            <input type="text" name="name" lay-verify="required" autocomplete="off" placeholder="请输入组名"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">分组类别</label>
        <div class="layui-input-inline">
            <select name="type">
                <option value="">请选择分类</option>
            <#list groupType as item>
                <option value="${groupCode[item_index]}">${item}</option>
            </#list>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">排序</label>
        <div class="layui-input-inline">
            <input type="text" name="position" lay-verify="required" autocomplete="off" placeholder="请输入排序"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="submit">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
</body>
<script type="text/javascript" src="/static/js/group.js"></script>
</html>